package com.czk.springcloud.controller;

import com.czk.springcloud.service.IMessageProvide;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 控制层
 *
 * @Author:ChenZhangKun
 * @Date: 2020/12/22 22:14
 */
@RestController
public class SendMessageController {
    @Resource
    private IMessageProvide iMessageProvide;

    @GetMapping(value = "/sendMessage")
    public String send() {
        return iMessageProvide.send();
    }
}
